package com.chixing.day08.OrderSystem;

public class EmptyOrder implements OrderInterf {
    private String emptyName;
    private String emptyId;
    private int orderNum = 0;

    public String getEmptyName() {
        return emptyName;
    }

    public void setEmptyName(String emptyName) {
        this.emptyName = emptyName;
    }

    public String getEmptyId() {
        return emptyId;
    }

    public void setEmptyId(String emptyId) {
        this.emptyId = emptyId;
    }

    @Override
    public int getOrderNum() {
        return orderNum;
    }

    @Override
    public void setOrderNum(int num) {
        this.orderNum = num;
    }

    @Override
    public String toString() {
        return "企业订单:\n" +
                " " + " " + "订购人: " + emptyName + "\n" +
                " " + " " + "订购商品: " + emptyId + "\n" +
                " " + " " + "订购数量: " + orderNum;
    }
}
